﻿<?xml version="1.0" encoding="utf-8"?>
<CommerceServer>
	<Configurations>

		<Configuration identity="Domain.Dev.CSConfig">
			<Variables>
				<Variable identity="SEND_EMAIL" value="$($Env:CLW_SEND_EMAIL)" description="When false, email will not be sent to the logged on user when deployment is complete." />
				<Variable identity="PROJECT_NAME" value="SolutionStorefrontSite" description="" />
				<Variable identity="DOMAIN_NAME" value="$($Env:USERDOMAIN)" description="" />
				<Variable identity="SOLUTION_BASE_DIRECTORY" value="$(Split-Path -Path $DEPLOYMENT_DIRECTORY -Parent)" description="" />
				<Variable identity="CS_SQL_Server" value="$($Env:COMPUTERNAME)" description="" />
			</Variables>
			<UserAccounts>
				<UserAccount identity="CSStagingServiceUser" fullName="Commerce Server Staging Service User for $($PROJECT_NAME)" operationalUnit="DEVHyperV" domain="$($DOMAIN_NAME)" username="StagingUser" password="Cactus123" email="" />
				<UserAccount identity="CSMailingServiceUser" fullName="Commerce Server Maining Service User for $($PROJECT_NAME)" operationalUnit="DEVHyperV" domain="$($DOMAIN_NAME)" username="MailerUser" password="Cactus123" email="" />
			</UserAccounts>			
			<CommerceServer identity="$($PROJECT_NAME)">
				<Configure stagingUser="CSStagingServiceUser" mailerUser="CSMailingServiceUser"/>
			</CommerceServer>
		</Configuration>

		<Configuration identity="Domain.Dev.Unpup">
			<Variables>
				<Variable identity="SEND_EMAIL" value="$($Env:CLW_SEND_EMAIL)" description="When false, email will not be sent to the logged on user when deployment is complete." />
				<Variable identity="PROJECT_NAME" value="SolutionStorefrontSite" description="" />
				<Variable identity="DOMAIN_NAME" value="$($Env:USERDOMAIN)" description="" />
				<Variable identity="SOLUTION_BASE_DIRECTORY" value="$(Split-Path -Path $DEPLOYMENT_DIRECTORY -Parent)" description="" />
				<Variable identity="DATABASE_DIRECTORY" value="$(Join-Path -Path $SOLUTION_BASE_DIRECTORY -ChildPath &quot;database&quot;)" description="" />
				<Variable identity="INETPUB_DIRECTORY" value="$( Join-Path -Path $Env:SYSTEMDRIVE -ChildPath &quot;inetpub&quot; )" description="" />
				<Variable identity="WS_DIRECTORY" value="$( Join-Path -Path $INETPUB_DIRECTORY -ChildPath &quot;CSServices&quot; )" description="" />
				<Variable identity="CS_WEBSERVICE_IIS_SITE_NAME" value="CSServices" description="" />
				<Variable identity="CS_WEB_SERVER" value="$($Env:COMPUTERNAME)" description="" />
				<Variable identity="CS_SQL_Server" value="$($Env:COMPUTERNAME)" description="" />
				<Variable identity="FoundationService_DIRECTORY" value="$( Join-Path -Path $SOLUTION_BASE_DIRECTORY -ChildPath &quot;Foundation&quot; )" description="" />
				<Variable identity="EventCreatePath" value="$($Env:SYSTEMROOT)\System32\eventcreate.exe" description="Path to the eventcreate.exe utility" />
				<Variable identity="REGEDIT_PATH" value="$( Join-Path -Path $Env:SYSTEMROOT -ChildPath &quot;SysWow64\regedit.exe&quot; )" description="" />
				<Variable identity="REGEDIT_64_PATH" value="$( Join-Path -Path $Env:SYSTEMROOT -ChildPath &quot;regedit.exe&quot; )" description="" />
			</Variables>
			<Registry>
				<File path="$($DEPLOYMENT_DIRECTORY)\Tools\DisableLoopbackCheck.reg"/>
			</Registry>
			<UserAccounts>
				<UserAccount identity="CSRuntimeUser" fullName="Commerce Server web site user for $($PROJECT_NAME)" operationalUnit="DEVHyperV" domain="$($DOMAIN_NAME)" username="PrsRuntimeUser" password="Cactus123" email="" />
				<UserAccount identity="CSFoundationUser" fullName="Commerce Server foundation web service User for $($PROJECT_NAME)" operationalUnit="DEVHyperV" domain="$($DOMAIN_NAME)" username="FndRuntimeUser" password="Cactus123" email="" />
				<UserAccount identity="CSCatalogUser" fullName="Commerce Server Catalog User for $($PROJECT_NAME)" operationalUnit="DEVHyperV" domain="$($DOMAIN_NAME)" username="CatalogUser" password="Cactus123" email="" />
				<UserAccount identity="CSMarketingUser" fullName="Commerce Server Marketing User for $($PROJECT_NAME)" operationalUnit="DEVHyperV" domain="$($DOMAIN_NAME)" username="MarketingUser" password="Cactus123" email="" />
				<UserAccount identity="CSOrdersUser" fullName="Commerce Server Orders User for $($PROJECT_NAME)" operationalUnit="DEVHyperV" domain="$($DOMAIN_NAME)" username="OrdersUser" password="Cactus123" email="" />
				<UserAccount identity="CSProfilesUser" fullName="Commerce Server Profiles User for $($PROJECT_NAME)" operationalUnit="DEVHyperV" domain="$($DOMAIN_NAME)" username="ProfilesUser" password="Cactus123" email="" />
			</UserAccounts>
			<UserGroups>
				<UserGroup identity="IIS_IUSRS" name="IIS_IUSRS" >
					<Users>
						<User userAccountIdentity="CSRuntimeUser" />
						<User userAccountIdentity="CSFoundationUser" />
						<User userAccountIdentity="CSCatalogUser" />
						<User userAccountIdentity="CSMarketingUser" />
						<User userAccountIdentity="CSOrdersUser" />
						<User userAccountIdentity="CSProfilesUser" />
					</Users>
				</UserGroup>
			</UserGroups>
			<Events>
				<Definition EventSource="Commerce Server" />
				<Definition EventSource="Commerce Server Business UI" />
				<Definition EventSource="Commerce Server Catalog" />
				<Definition EventSource="Commerce Server Datawarehouse" />
				<Definition EventSource="Commerce Server List Manager" />
				<Definition EventSource="Commerce Server Orders" />
				<Definition EventSource="Commerce Server Promotion Code Generator" />
				<Definition EventSource="Commerce Server Staging" />
				<Definition EventSource="Commerce Server Web Services" />
				<Definition EventSource="Commerce Services Exceptions" />
			</Events>
			<Folders>
				<Folder identity="Temp" path="c:\windows\temp">
					<UserAccounts>
						<UserAccount userAccountIdentity="CSRuntimeUser" />
						<UserAccount userAccountIdentity="CSFoundationUser" />
						<UserAccount userAccountIdentity="CSCatalogUser" />
						<UserAccount userAccountIdentity="CSMarketingUser" />
						<UserAccount userAccountIdentity="CSOrdersUser" />
						<UserAccount userAccountIdentity="CSProfilesUser" />
					</UserAccounts>
				</Folder>
			</Folders>
			<Files>
				<File identity="CatalogAzMan" path="$($WS_DIRECTORY)\$($PROJECT_NAME)_CatalogWebService\CatalogAuthorizationStore.xml">
					<UserAccounts>
						<UserAccount userAccountIdentity="CSCatalogUser" />
					</UserAccounts>
				</File>
			</Files>
			<IIS>
				<ApplicationPools>
					<ApplicationPool name="CSServices" userAccountIdentity="CSFoundationUser" create="true" fullName="$($CS_WEBSERVICE_IIS_SITE_NAME)" framework="v4.0" />
					<ApplicationPool name="CSCatalogWebService" userAccountIdentity="CSCatalogUser" create="true" fullName="$($PROJECT_NAME)AppPool_Catalog" framework="v4.0" />
					<ApplicationPool name="CSMarketingWebService" userAccountIdentity="CSMarketingUser" create="true" fullName="$($PROJECT_NAME)AppPool_Marketing" framework="v4.0" />
					<ApplicationPool name="CSOrdersWebService" userAccountIdentity="CSOrdersUser" create="true" fullName="$($PROJECT_NAME)AppPool_Orders" framework="v4.0" />
					<ApplicationPool name="CSProfilesWebService" userAccountIdentity="CSProfilesUser" create="true" fullName="$($PROJECT_NAME)AppPool_Profiles" framework="v4.0" />
				</ApplicationPools>
				<Websites>
					<Website identity="CSServices" serverName="$($Env:COMPUTERNAME)" port="1000" path="$($WS_DIRECTORY)" url="http://$($Env:COMPUTERNAME):1000/" create="true" deleteIfExists="false" protocol="http" applicationPool="CSServices">
						<VirtualDirectories>
							<VirtualDirectory identity="$($PROJECT_NAME)_CatalogWebService" applicationPool="CSCatalogWebService" path="$($WS_DIRECTORY)\$($PROJECT_NAME)_CatalogWebService" create="true" deleteIfExists="true"/>
							<VirtualDirectory identity="$($PROJECT_NAME)_MarketingWebService" applicationPool="CSMarketingWebService" path="$($WS_DIRECTORY)\$($PROJECT_NAME)_MarketingWebService" create="true" deleteIfExists="true"/>
							<VirtualDirectory identity="$($PROJECT_NAME)_OrdersWebService" applicationPool="CSOrdersWebService" path="$($WS_DIRECTORY)\$($PROJECT_NAME)_OrdersWebService" create="true" deleteIfExists="true"/>
							<VirtualDirectory identity="$($PROJECT_NAME)_ProfilesWebService" applicationPool="CSProfilesWebService" path="$($WS_DIRECTORY)\$($PROJECT_NAME)_ProfilesWebService" create="true" deleteIfExists="true"/>
						</VirtualDirectories>
					</Website>
				</Websites>
				<WAMREG>
					<UserAccounts>
						<UserAccount userAccountIdentity="CSFoundationUser" />
					</UserAccounts>
				</WAMREG>
			</IIS>
			<CommerceServer identity="$($PROJECT_NAME)">
				<Pup pupLocation="$($DATABASE_DIRECTORY)\pup\SolutionStorefront.pup" iniLocation="$($DATABASE_DIRECTORY)\pup\SolutionStorefront.ini"/>
				<ProfileKeys create="true"/>
			</CommerceServer>
		</Configuration>

		<Configuration identity="Domain.Dev">
			<!-- Variables are read in before all other items to ensure they are defined before the rest of the file is read in. -->
			<Variables>
				<Variable identity="SEND_EMAIL" value="$($Env:CLW_SEND_EMAIL)" description="When false, email will not be sent to the logged on user when deployment is complete." />
				<Variable identity="CONFIGURE_SMTP_SERVER" value="$($Env:CLW_CONFIGURE_SMTP_SERVER)" description="When false, the SMTP that will be used for SharePoint web application is not configured." />
				<Variable identity="PROJECT_NAME" value="SolutionStorefrontSite" description="" />

				<!--
			This is already defined in the script as the location of the script file.
			If you override this, it MUST be a physical path.
			-->
				<!--<Variable identity="DEPLOYMENT_DIRECTORY" value="" description="" />-->
				<Variable identity="SOLUTION_BASE_DIRECTORY" value="$(Split-Path -Path $DEPLOYMENT_DIRECTORY -Parent)" description="" />
				<Variable identity="DATABASE_DIRECTORY" value="$(Join-Path -Path $SOLUTION_BASE_DIRECTORY -ChildPath &quot;database&quot;)" description="" />
				<Variable identity="DOMAIN_NAME" value="$($Env:USERDOMAIN)" description="" />
				<Variable identity="CURRENT_USER_NAME" value="$($Env:USERNAME)" description="" />
				<Variable identity="AUTHORIZE_CURRENT_USER" value="$($true)" description="" />
				<Variable identity="CS_WEBSERVICE_IIS_SITE_NAME" value="CSServices" description="" />
				<Variable identity="FX20_PATH" value="C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727" description="" />
				<Variable identity="WINSDK_DIRECTORY" value="C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin" description="" />
				<Variable identity="RESGEN_PATH" value="$( Join-Path -Path $SOLUTION_BASE_DIRECTORY -ChildPath &quot;Deployment\Tools\resgen.exe&quot; )" description="" />
				<Variable identity="MSBUILD_PATH" value="C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe" description="" />
				<Variable identity="SQLCMD_PATH" value="C:\Program Files\Microsoft SQL Server\100\Tools\Binn\SQLCMD.EXE" description="" />
				<Variable identity="APPCMD_PATH" value="$( Join-Path -Path $Env:SYSTEMROOT -ChildPath &quot;system32\inetsrv\APPCMD.exe&quot; )" description="" />
				<Variable identity="REGASM_PATH" value="$( Join-Path -Path $Env:SYSTEMROOT -ChildPath &quot;\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe&quot; )" description="" />
				<Variable identity="REGASM_64_PATH" value="$( Join-Path -Path $Env:SYSTEMROOT -ChildPath &quot;\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe&quot; )" description="" />
				<Variable identity="REGEDIT_PATH" value="$( Join-Path -Path $Env:SYSTEMROOT -ChildPath &quot;SysWow64\regedit.exe&quot; )" description="" />
				<Variable identity="REGEDIT_64_PATH" value="$( Join-Path -Path $Env:SYSTEMROOT -ChildPath &quot;regedit.exe&quot; )" description="" />
				<Variable identity="INETPUB_DIRECTORY" value="$( Join-Path -Path $Env:SYSTEMDRIVE -ChildPath &quot;inetpub&quot; )" description="" />
				<Variable identity="WS_DIRECTORY" value="$( Join-Path -Path $INETPUB_DIRECTORY -ChildPath &quot;CSServices&quot; )" description="" />
				<Variable identity="FoundationService_DIRECTORY" value="$( Join-Path -Path $SOLUTION_BASE_DIRECTORY -ChildPath &quot;Foundation&quot; )" description="" />
				<Variable identity="MVCSite_DIRECTORY" value="$( Join-Path -Path $SOLUTION_BASE_DIRECTORY -ChildPath &quot;MVCSample&quot; )" description="" />
				<Variable identity="MVCSite_UrlDomain" value="mvc.local" description="" />
				<Variable identity="CS_DB_Folder" value="C:\Program Files\Microsoft SQL Server\CSDatabases\" description="" />
				<Variable identity="MAKE_CERT" value="$($DEPLOYMENT_DIRECTORY)\Tools\makecert.exe" description="" />				
			</Variables>
			<Folders>
				<Folder identity="EmailDropOff" path="c:\EmailTestingDropFolder">
					<UserAccounts>
						<UserAccount userAccountIdentity="CSFoundationUser"/>
					</UserAccounts>
				</Folder>
				<Folder identity="Foundation" path="$(Join-Path -Path $SOLUTION_BASE_DIRECTORY -ChildPath &quot;Foundation&quot;)"/>
			</Folders>
			<!-- Useraccounts are refered to in this file using userAccountIdentity attributes -->
			<UserAccounts>
				<UserAccount identity="CSRuntimeUser" fullName="Commerce Server web site user for $($PROJECT_NAME)" operationalUnit="DEVHyperV" domain="$($DOMAIN_NAME)" username="PrsRuntimeUser" password="Cactus123" email="" />
				<UserAccount identity="CSFoundationUser" fullName="Commerce Server foundation web service User for $($PROJECT_NAME)" operationalUnit="DEVHyperV" domain="$($DOMAIN_NAME)" username="FndRuntimeUser" password="Cactus123" email="" />
				<UserAccount identity="CSCatalogUser" fullName="Commerce Server Catalog User for $($PROJECT_NAME)" operationalUnit="DEVHyperV" domain="$($DOMAIN_NAME)" username="CatalogUser" password="Cactus123" email="" />
				<UserAccount identity="CSMarketingUser" fullName="Commerce Server Marketing User for $($PROJECT_NAME)" operationalUnit="DEVHyperV" domain="$($DOMAIN_NAME)" username="MarketingUser" password="Cactus123" email="" />
				<UserAccount identity="CSOrdersUser" fullName="Commerce Server Orders User for $($PROJECT_NAME)" operationalUnit="DEVHyperV" domain="$($DOMAIN_NAME)" username="OrdersUser" password="Cactus123" email="" />
				<UserAccount identity="CSProfilesUser" fullName="Commerce Server Profiles User for $($PROJECT_NAME)" operationalUnit="DEVHyperV" domain="$($DOMAIN_NAME)" username="ProfilesUser" password="Cactus123" email="" />
			</UserAccounts>
			<IIS>
				<Certificates>
					<!--<Certificate identity="*.cactus.ca" path="$(Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath &quot;wildcard_cactus_ca_InternalUseOnly.pfx&quot;)" password="Cactus123" />-->
					<Certificate identity="MVCSample" selfSigned="true" />
					<Certificate identity="WebFormsSample" selfSigned="true" />
				</Certificates>
				<ApplicationPools>
					<ApplicationPool name="FoundationService" userAccountIdentity="CSFoundationUser" create="true" fullName="$($PROJECT_NAME)AppPool_Foundation" framework="v4.0" />
					<ApplicationPool name="MVCSite" userAccountIdentity="CSRuntimeUser" create="true" fullName="$($PROJECT_NAME)AppPool_MVC" framework="v4.0" />
					<ApplicationPool name="WebFormsSite" userAccountIdentity="CSRuntimeUser" create="true" fullName="$($PROJECT_NAME)AppPool_WebForms" framework="v4.0" />
					<ApplicationPool name="CSServices" userAccountIdentity="CSFoundationUser" create="true" fullName="$($CS_WEBSERVICE_IIS_SITE_NAME)" framework="v4.0" />
					<ApplicationPool name="CSCatalogWebService" userAccountIdentity="CSCatalogUser" create="true" fullName="$($PROJECT_NAME)AppPool_Catalog" framework="v4.0" />
					<ApplicationPool name="CSMarketingWebService" userAccountIdentity="CSMarketingUser" create="true" fullName="$($PROJECT_NAME)AppPool_Marketing" framework="v4.0" />
					<ApplicationPool name="CSOrdersWebService" userAccountIdentity="CSOrdersUser" create="true" fullName="$($PROJECT_NAME)AppPool_Orders" framework="v4.0" />
					<ApplicationPool name="CSProfilesWebService" userAccountIdentity="CSProfilesUser" create="true" fullName="$($PROJECT_NAME)AppPool_Profiles" framework="v4.0" />
				</ApplicationPools>
				<Websites>
					<Website identity="CSServices" serverName="$($Env:COMPUTERNAME)" port="1000" path="$($WS_DIRECTORY)" url="http://$($Env:COMPUTERNAME):1000/" create="true" deleteIfExists="false">
						<VirtualDirectories>
							<VirtualDirectory identity="Foundation" applicationPool="FoundationService" path="$($FoundationService_DIRECTORY)" create="true" deleteIfExists="true"/>
						</VirtualDirectories>
					</Website>
					<Website identity="MVCSample" serverName="$($Env:COMPUTERNAME)" protocol="http" port="42013" path="$($MVCSite_DIRECTORY)" url="http://$($Env:COMPUTERNAME):42013/" applicationPool="MVCSite" create="true" deleteIfExists="true"/>
				</Websites>
				<!--<WebBindings>
					<WebBinding webApplicationIdentity="MVCSample" port="80" hostheader="$($MVCSite_UrlDomain)" protocol="http" ip="*" certificate="" />
					<WebBinding webApplicationIdentity="MVCSample" port="443" hostheader="$($MVCSite_UrlDomain)" protocol="https" ip="*" certificate="MVCSample" />
				</WebBindings>-->
			</IIS>
			<CommerceServer identity="$($PROJECT_NAME)">
				<Schemas>
					<CatalogSchema identity="" path="$( Join-Path -Path $DATABASE_DIRECTORY -ChildPath &quot;Catalog\Catalog.xml&quot; )" replace="true" transacted="true" allowSchemaUpdate="true">
						<AzMan>
							<File name="$($WS_DIRECTORY)\$($PROJECT_NAME)_CatalogWebService\CatalogAuthorizationStore.xml" siteName="$($PROJECT_NAME)"/>
						</AzMan>
					</CatalogSchema>
					<CatalogInventorySchema identity="" path="$( Join-Path -Path $DATABASE_DIRECTORY -ChildPath &quot;Catalog\Inventory.xml&quot; )" />
					<!--<ProfilesSchema identity="" path="$( Join-Path -Path $DATABASE_DIRECTORY -ChildPath &quot;Profiles\ProfilesSchema.xml&quot; )" />-->
				</Schemas>
				<!--<WebServices>
					<WebService identity="Catalog" websiteIdentity="CSServices" virtualDirectoryPath="$($PROJECT_NAME)_CatalogWebService" path="$(Join-Path -Path $SOLUTION_BASE_DIRECTORY -ChildPath &quot;webservices\CatalogWebService&quot;)" targetPath="$(Join-Path -Path $WS_DIRECTORY -ChildPath &quot;$($PROJECT_NAME)_CatalogWebService&quot;)"/>
					<WebService identity="Marketing" websiteIdentity="CSServices" virtualDirectoryPath="$($PROJECT_NAME)_MarketingWebService" path="$(Join-Path -Path $SOLUTION_BASE_DIRECTORY -ChildPath &quot;webservices\MarketingWebService&quot;)"  targetPath="$(Join-Path -Path $WS_DIRECTORY -ChildPath &quot;$($PROJECT_NAME)_MarketingWebService&quot;)"/>
					<WebService identity="Orders" websiteIdentity="CSServices" virtualDirectoryPath="$($PROJECT_NAME)_OrdersWebService" path="$(Join-Path -Path $SOLUTION_BASE_DIRECTORY -ChildPath &quot;webservices\OrdersWebService&quot;)"  targetPath="$(Join-Path -Path $WS_DIRECTORY -ChildPath &quot;$($PROJECT_NAME)_OrdersWebService&quot;)"/>
					<WebService identity="Profiles" websiteIdentity="CSServices" virtualDirectoryPath="$($PROJECT_NAME)_ProfilesWebService" path="$(Join-Path -Path $SOLUTION_BASE_DIRECTORY -ChildPath &quot;webservices\ProfilesWebService&quot;)"  targetPath="$(Join-Path -Path $WS_DIRECTORY -ChildPath &quot;$($PROJECT_NAME)_ProfilesWebService&quot;)"/>
				</WebServices>-->
				<Databases>
					<Database identity="CSMaster" serverName="$($Env:COMPUTERNAME)" databaseName="master" />
					<Database identity="CSAdmin" serverName="$($Env:COMPUTERNAME)" databaseName="MSCS_Admin" />
					<Database identity="CSCatalog" serverName="$($Env:COMPUTERNAME)" databaseName="$($PROJECT_NAME)_productcatalog" />
					<Database identity="CSCatalogScratch" serverName="$($Env:COMPUTERNAME)" databaseName="MSCS_CatalogScratch" />
					<Database identity="CSMarketing" serverName="$($Env:COMPUTERNAME)" databaseName="$($PROJECT_NAME)_marketing" />
					<Database identity="CSMarketingLists" serverName="$($Env:COMPUTERNAME)" databaseName="$($PROJECT_NAME)_marketing_lists" />
					<Database identity="CSOrders" serverName="$($Env:COMPUTERNAME)" databaseName="$($PROJECT_NAME)_transactions" />
					<Database identity="CSOrdersConfig" serverName="$($Env:COMPUTERNAME)" databaseName="$($PROJECT_NAME)_transactionconfig" />
					<Database identity="CSProfiles" serverName="$($Env:COMPUTERNAME)" databaseName="$($PROJECT_NAME)_profiles" />
				</Databases>
				<DatabaseScripts>
					<DatabaseScript identity="" databaseIdentity="CSMaster" path="$(Join-Path -Path $DATABASE_DIRECTORY -ChildPath &quot;Security\CommerceServer_Security.sql&quot;)" />
				</DatabaseScripts>
				<Pipelines>
				</Pipelines>
				<AzMan>
					<!-- set the current user up as an-->
					<Definition FilePath="$($WS_DIRECTORY)\$($PROJECT_NAME)_CatalogWebService\CatalogAuthorizationStore.xml" ApplicationName="CatalogandInventorySystem" RoleName="Administrator" UserOrGroupName="$($CURRENT_USER_NAME)" UserOrGroupDomain="$($DOMAIN_NAME)" ScopeName=""/>
					<Definition FilePath="$($WS_DIRECTORY)\$($PROJECT_NAME)_MarketingWebService\MarketingAuthorizationStore.xml" ApplicationName="MarketingSystem" RoleName="MarketingAdministrator" UserOrGroupName="$($CURRENT_USER_NAME)" UserOrGroupDomain="$($DOMAIN_NAME)"  ScopeName=""/>
					<Definition FilePath="$($WS_DIRECTORY)\$($PROJECT_NAME)_OrdersWebService\OrdersAuthorizationStore.xml" ApplicationName="OrderSystem"  RoleName="OrdersAdministrator" UserOrGroupName="$($CURRENT_USER_NAME)" UserOrGroupDomain="$($DOMAIN_NAME)"  ScopeName=""/>
					<Definition FilePath="$($WS_DIRECTORY)\$($PROJECT_NAME)_ProfilesWebService\ProfilesAuthorizationStore.xml" ApplicationName="ProfileSystem" RoleName="ProfileAdministrator" UserOrGroupName="$($CURRENT_USER_NAME)" UserOrGroupDomain="$($DOMAIN_NAME)"  ScopeName=""/>

					<!-- Commerce Cache-->
					<Definition FilePath="$($FoundationService_DIRECTORY)\AuthorizationStores\CommerceEntityAuthorizationStore.xml" ApplicationName="CommerceFoundation"  RoleName="CommerceUpdateOperation" userAccountIdentity="CSRuntimeUser" ScopeName="CommerceCache"/>
					<Definition FilePath="$($FoundationService_DIRECTORY)\AuthorizationStores\CommerceEntityAuthorizationStore.xml" ApplicationName="CommerceFoundation"  RoleName="CommerceDeleteOperation" userAccountIdentity="CSRuntimeUser" ScopeName="CommerceCache"/>
					<Definition FilePath="$($FoundationService_DIRECTORY)\AuthorizationStores\CommerceEntityAuthorizationStore.xml" ApplicationName="CommerceFoundation"  RoleName="CommerceQueryOperation" userAccountIdentity="CSRuntimeUser" ScopeName="CommerceCache"/>

					<Definition FilePath="$($FoundationService_DIRECTORY)\AuthorizationStores\CommerceEntityAuthorizationStore.xml" ApplicationName="CommerceFoundation"  RoleName="CommerceUpdateOperation" userAccountIdentity="CSFoundationUser" ScopeName="CommerceCache"/>
					<Definition FilePath="$($FoundationService_DIRECTORY)\AuthorizationStores\CommerceEntityAuthorizationStore.xml" ApplicationName="CommerceFoundation"  RoleName="CommerceDeleteOperation" userAccountIdentity="CSFoundationUser" ScopeName="CommerceCache"/>
					<Definition FilePath="$($FoundationService_DIRECTORY)\AuthorizationStores\CommerceEntityAuthorizationStore.xml" ApplicationName="CommerceFoundation"  RoleName="CommerceQueryOperation" userAccountIdentity="CSFoundationUser" ScopeName="CommerceCache"/>
				</AzMan>
			</CommerceServer>
			<FileTokens>
				<!--<FileToken filePath="$(Join-Path -Path $DATABASE_DIRECTORY -ChildPath &quot;SSIS\Packages\ProductRatings.dtsConfig&quot;)" />-->
			</FileTokens>
		</Configuration>

	</Configurations>

</CommerceServer>